package com.genghis.ptas.friend.entity;

import com.genghis.ptas.security.entity.User;

/**
 * Created with IntelliJ IDEA.
 * User: gaoyang
 * To change this template use File | Settings | File Templates.
 */
public class FriendGroup {
    private int id;
    private int category;
    private int userId;
    private int state;
    private User user;

    public FriendGroup() {
    }

    public FriendGroup(int category) {
        this.category = category;
    }

    public FriendGroup(int id, int userId, int state) {
        this.id = id;
        this.userId = userId;
        this.state = state;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCategory() {
        return category;
    }

    public void setCategory(int category) {
        this.category = category;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
